'''
Created on 18/11/2011

@author: Byron
'''
from Constants import *

class Ficha():
    
    def __init__(self, pTeam, pType, pPosX, pPosY):
        self._Team = pTeam;
        self._Type = pType;
        self._PosX = pPosX;
        self._PosY = pPosY;
        
        
    '''  Gets  '''  
        
    def getTeam(self):
        return self._Team;
    
    def getType(self):
        return self._Type;
    
    def getPosX(self):
        return self._PosX
    
    def getPosY(self):
        return self._PosY
    
    def getPos(self):
        return [self._PosX, self._PosY]
    
    '''  Sets  '''  
        
    def setTeam(self, pTeam):
        self._Team = pTeam;
    
    def setType(self, pType):
        self._Type = pType;
    
    def setPosX(self, pPosX):
        self._PosX = pPosX;
    
    def setPosY(self, pPosY):
        self._PosY = pPosY;
        
    def setPos(self, pPos):
        self._PosX = pPos[POS_X];
        self._PosY = pPos[POS_Y];
    
    